package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司信息对象 sys_company
 * 
 * @author ruoyi
 * @date 2024-11-16
 */
public class SysCompany extends BaseEntity
{

    /** 公司编号 */
    private Long companyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String companySite;

    /** 全国热线 */
    @Excel(name = "全国热线")
    private String nationPhone;

    /** 咨询热线 */
    @Excel(name = "咨询热线")
    private String consultPhone;

    /** 公司传真 */
    @Excel(name = "公司传真")
    private String faxPhone;

    /** 公司邮箱 */
    @Excel(name = "公司邮箱")
    private String companyEmail;

    /** 微信二维码地址 */
    @Excel(name = "微信二维码地址")
    private String avatar;

    /** 公司状态（0正常 1停产） */
    @Excel(name = "公司状态", readConverterExp = "0=正常,1=停产")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanySite(String companySite) 
    {
        this.companySite = companySite;
    }

    public String getCompanySite() 
    {
        return companySite;
    }
    public void setNationPhone(String nationPhone) 
    {
        this.nationPhone = nationPhone;
    }

    public String getNationPhone() 
    {
        return nationPhone;
    }
    public void setConsultPhone(String consultPhone) 
    {
        this.consultPhone = consultPhone;
    }

    public String getConsultPhone() 
    {
        return consultPhone;
    }
    public void setFaxPhone(String faxPhone) 
    {
        this.faxPhone = faxPhone;
    }

    public String getFaxPhone() 
    {
        return faxPhone;
    }
    public void setCompanyEmail(String companyEmail) 
    {
        this.companyEmail = companyEmail;
    }

    public String getCompanyEmail() 
    {
        return companyEmail;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("companySite", getCompanySite())
            .append("nationPhone", getNationPhone())
            .append("consultPhone", getConsultPhone())
            .append("faxPhone", getFaxPhone())
            .append("companyEmail", getCompanyEmail())
            .append("avatar", getAvatar())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
